FileBird\Controller\Api S

Total Complexity 40
Dependencies 3
Dependents 1
Total lines 250
Lines of code 219
Logical lines of code 87
Comment lines 13
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
publicRestApiGetAttachmentCount()
A
49 8 30
publicRestApiSetAttachment()
S
56 5 18
getAuthorizationHeader()
S
58 5 15
getBearerToken()
S
60 5 13
registerRestFields()
S
44 1 65
restApi()
S
59 3 14
publicRestApiGetAttachmentIds()
S
60 2 15
publicRestApiNewFolder()
S
60 2 13
resAdminPermissionsCheck()
S
79 2 3
resPublicPermissionsCheck()
S
68 2 7
generateRandomString()
S
64 2 9
__construct()
S
79 1 3
publicRestApiGetFolders()
S
71 1 6
publicRestApiGetFolderDetail()
S
68 1 8